
<h2><?php echo $cont_title; ?></h2>
<?php $this->load->view('admin_messages',$msg_info); ?>
<form action="<?php __e($frm_action);?>" method="post" name="<?php __e($frm_name);?>" id="<?php __e($frm_name);?>" class="frmreg" enctype="multipart/form-data">
  <input type="hidden" name="frm_token" id="frm_token" value="<?php __e($frm_token);?>" />
  <input type="hidden" name="frm_mode" id="frm_mode" value="<?php __e($frm_mode);?>" />
  <input type="hidden" name="frm_id" id="frm_id" value="<?php __e($frm_id);?>" />
  <table border="0" cellpadding="0" cellspacing="0" class="frm_com" width="100%">
    <tr>
      <td width="49%" class="frm_col_left">
        <table border="0" cellpadding="0" cellspacing="0" class="frm_inst_details">
          <tr>
            <td colspan="2"><h3>General Details</h3></td>
          </tr>
          <tr>
            <td><label for="txt_id"><span class="imp">&nbsp;</span>ID</label></td>
            <td><?php __earray($post_arr, 'os_category_id'); ?></td>
          </tr>
          <?php $p_dt = __earray($post_arr, 'os_category_created',TRUE); ?>      
          <tr>
            <td><label for="txt_id"><span class="imp">&nbsp;</span>Created</label></td>
            <td><?php __e( __set_date($p_dt, 3) ); ?></td>
          </tr> 
          <tr>
            <td><label for="os_category_status"><span class="imp">&nbsp;</span>Status</label></td>
            <td>   
              <?php $chk = __earray($post_arr, 'os_category_status', TRUE); if($chk == 1){__e('Active');}else{__e('Inactive');}?>
            </td>
          </tr>
          <tr>
            <td><label for="os_category_name"><span class="imp">*</span>&nbsp;Subject/Category</label></td>
            <td><?php __earray($post_arr, 'os_category_name'); ?></td>
          </tr>
          
          <tr>
            <td><label for="os_category_descp"><span class="imp">&nbsp;</span>&nbsp;Description</label></td>
            <td><?php __earray($post_arr, 'os_category_descp'); ?></td>
          </tr>
          
          <tr>
            <td colspan="2" align="left">
              <?php
              $properties = array('name' => 'btn_add','id' => 'btn_add','class' => 'genbtnbox','maxlength' => 200,'tabindex' => 1,
                  'value' => 'Back to listing','onclick' => 'javascript: redirect_page(\''.  site_url($p_c.'/'.$c).'\');'
              );__e(inputbox($properties, true));
              ?>
            </td>
          </tr>
        </table>
      </td>
      <td>&nbsp;</td>        
    </tr>
  </table>
</form>
